Home
last modified time | relevance | path

Searched hist:a8827453 (Results 1 – 1 of 1) sorted by relevance

/qemu/block/
H A Dgluster.ca8827453 Wed Apr 06 03:11:34 GMT 2016 Jeff Cody <jcody@redhat.com> block/gluster: return correct error value

Upon error, gluster will call the aio callback function with a
ret value of -1, with errno set to the proper error value. If
we set the acb->ret value to the return value in the callback,
that results in every error being EPERM (i.e. 1). Instead, set
it to the proper error result.

Reviewed-by: Niels de Vos <ndevos@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>